package com.coship.vasms.adstorm.service;

import java.util.List;

import com.coship.vasms.adstorm.model.Arrangenotify;
import com.coship.vasms.adstorm.webservice.advertise.vo.ArrangDisplay;

public interface ArrangeNotifyService {
	/**
	 * �����µ�֪ͨ��¼
	 * @param log
	 */
	public void save(Arrangenotify notify);
	
	/**
	 * ��ѯ��Ҫ֪ͨͣ���ļ�¼
	 * @return
	 */
	public List<ArrangDisplay> queryDisplayReq(String date, Integer pageStart, Integer pageSize);
	
	public Integer countDisplay(String date);
	
	/**
	 * ����֪ͨ���޸�֪ͨ���״̬
	 */
	public void update(Arrangenotify notify);	
	
	/**
	 * ��ѯ��Ҫ֪ͨ���ŵļ�¼
	 * @return
	 */
	public List<ArrangDisplay> queryPlayReq(String date, Integer pageStart, Integer pageSize); 
	
	public Integer countPlay(String date);
	
	/**
	 * ��ѯ���Ͳ��Ź��֪ͨʧ�ܵļ�¼
	 * @return
	 */
	public List<ArrangDisplay> queryPlayNotifyFail(String date, Integer number, Integer pageStart, Integer pageSize);
	
	/**
	 * ��ѯ���Ͳ��Ź��֪ͨʧ�ܵļ�¼
	 * @return
	 */
	public List<ArrangDisplay> queryDisplayNotifyFail(String date, Integer number, Integer pageStart, Integer pageSize);
	
	/**
	 * ��ѯ�������֪ͨ��NotifyID
	 */
	public Arrangenotify queryByid(Integer id);
}
